libxl: drop domid field from libxl_device_*
authorIan Campbell <ian.campbell@citrix.com>
Fri, 8 Apr 2011 15:36:20 +0000 (16:36 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Fri, 8 Apr 2011 15:36:20 +0000 (16:36 +0100)
commitd658d039cd1c92d2d87fe137919197fd1a8f6a23
tree1e0a5a2640e832ae64aa60e39428216ec2362d4b
parent138c8514f9e0a8bb2fe8436c3ba68943658756dc
libxl: drop domid field from libxl_device_*

All functions which add a device to a domain already take a domid
argument and the callers typically write the same value to the
structure right before making the call.

Functions which delete a device typically do not but adding this field
makes the interface more consistent anyway and all callers have the
domid to hand.

All functions which return a libxl device structure are given a domid
as a paramter and the caller therefore already knows which domain it
is dealing with.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
tools/libxl/libxl.c
tools/libxl/libxl.h
tools/libxl/libxl.idl
tools/libxl/libxl_create.c
tools/libxl/libxl_dm.c
tools/libxl/libxl_utils.c
tools/libxl/xl_cmdimpl.c
tools/ocaml/libs/xl/xl_stubs.c